package com.sali.design_pattern.a_simple_factory_pattern.lesson_03.service.user;


import com.sali.design_pattern.a_simple_factory_pattern.lesson_03.pojo.User;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: zhang hang
 * @date: 2022/11/13 18:12.
 * @version: 1.0
 */
@Service
@Slf4j
public class FaUserService2Impl implements IFaUserService {
    @Override
    public User getUserById(Long userId) {
        return User.builder().id(1L).username("张sali").vip(3).build();
    }
}
